//
//  CaipiaoHistoryModel.m
//  K8彩票
//
//  Created by zyn on 2017/6/7.
//  Copyright © 2017年 zhoubo. All rights reserved.
//

#import "CaipiaoHistoryModel.h"

@implementation CaipiaoHistoryModel
@synthesize opendate,issueno,number,refernumber,saleamount,totalmoney;

- (instancetype)initWithDictionary:(NSDictionary *)dic {
    
    self = [super init];
    
    if (self) {
        opendate = [self toString:[dic objectForKey:@"opendate"]];
        issueno = [self toString:[dic objectForKey:@"issueno"]];
        number = [self toString:[dic objectForKey:@"number"]];
        refernumber = [self toString:[dic objectForKey:@"refernumber"]];
        saleamount = [self toString:[dic objectForKey:@"saleamount"]];
        totalmoney = [self toString:[dic objectForKey:@"totalmoney"]];
    }
    return self;
}


@end
